namespace FieldServices_01.intrnl
{
    public class MboHistoryMetaData
        : Sybase.Reflection.EntityMetaData
    {
        /// <summary>
        /// Sybase internal use only.
        /// <summary>
        public MboHistoryMetaData()
        {
            _init();
        }
        
        protected void _init()
        {
            SetId(6);
            SetAttributes(new Sybase.Reflection.AttributeMetaDataList());
            SetOperations(new Sybase.Reflection.OperationMetaDataList());
            SetAttributeMap(new Sybase.Reflection.AttributeMap());
            SetOperationMap(new Sybase.Reflection.OperationMap());
            Sybase.Reflection.AttributeMetaData ORDERID_attribute = AddAttributeWithParams(82, "ORDERID", "string", 12, false, false, false, false, false, false, "\"a\"");
            Sybase.Reflection.AttributeMetaData ORDERDATE_attribute = AddAttributeWithParams(83, "ORDERDATE", "date?", -1, false, false, false, false, false, false, "\"b\"");
            Sybase.Reflection.AttributeMetaData SHORT_TEXT_attribute = AddAttributeWithParams(84, "SHORT_TEXT", "string", 40, false, false, false, false, false, false, "\"c\"");
            Sybase.Reflection.AttributeMetaData EQUIPMENT_attribute = AddAttributeWithParams(85, "EQUIPMENT", "string", 18, false, false, false, false, false, false, "\"d\"");
            Sybase.Reflection.AttributeMetaData pending_attribute = AddAttributeWithParams(20001, "pending", "boolean", -1, false, false, true, false, false, false, "\"pending\"");
            Sybase.Reflection.AttributeMetaData pendingChange_attribute = AddAttributeWithParams(20002, "pendingChange", "char", 1, false, false, true, false, false, false, "\"_pc\"");
            Sybase.Reflection.AttributeMetaData replayPending_attribute = AddAttributeWithParams(20005, "replayPending", "long", -1, false, false, true, false, false, false, "\"_rp\"");
            Sybase.Reflection.AttributeMetaData replayFailure_attribute = AddAttributeWithParams(20006, "replayFailure", "long", -1, false, false, true, false, false, false, "\"_rf\"");
            Sybase.Reflection.AttributeMetaData surrogateKey_attribute = AddAttributeWithParams(86, "surrogateKey", "long", -1, false, true, false, false, false, false, "\"e\"");
            Sybase.Reflection.AttributeMetaData replayCounter_attribute = AddAttributeWithParams(20004, "replayCounter", "long", -1, false, false, true, false, false, false, "\"_rc\"");
            Sybase.Reflection.AttributeMetaData disableSubmit_attribute = AddAttributeWithParams(20003, "disableSubmit", "boolean", -1, false, false, true, false, false, false, "\"_ds\"");
            InitAttributeMapFromAttributes();
            Sybase.Reflection.OperationMetaData FindByEquip0_operation = AddOperationWithParams(69, "FindByEquip", "MboHistory*", true);
            AddParameterForOperation(FindByEquip0_operation, "Equip", "string");
            Sybase.Reflection.OperationMetaData GetPendingObjects1_operation = AddOperationWithParams(247, "getPendingObjects", "MboHistory*", true);
            Sybase.Reflection.OperationMetaData GetPendingObjects2_operation = AddOperationWithParams(248, "getPendingObjects", "MboHistory*", true);
            AddParameterForOperation(GetPendingObjects2_operation, "pendingChange", "char");
            Sybase.Reflection.OperationMetaData GetReplayPendingObjects3_operation = AddOperationWithParams(249, "getReplayPendingObjects", "MboHistory*", true);
            Sybase.Reflection.OperationMetaData IsNew4_operation = AddOperationWithParams(572, "isNew", "boolean", false);
            Sybase.Reflection.OperationMetaData IsDirty5_operation = AddOperationWithParams(573, "isDirty", "boolean", false);
            Sybase.Reflection.OperationMetaData IsDeleted6_operation = AddOperationWithParams(574, "isDeleted", "boolean", false);
            Sybase.Reflection.OperationMetaData Refresh7_operation = AddOperationWithParams(575, "refresh", "void", false);
            Sybase.Reflection.OperationMetaData _pk8_operation = AddOperationWithParams(576, "_pk", "long?", false);
            Sybase.Reflection.OperationMetaData IsPending9_operation = AddOperationWithParams(577, "isPending", "boolean", false);
            Sybase.Reflection.OperationMetaData IsCreated10_operation = AddOperationWithParams(578, "isCreated", "boolean", false);
            Sybase.Reflection.OperationMetaData IsUpdated11_operation = AddOperationWithParams(579, "isUpdated", "boolean", false);
            Sybase.Reflection.OperationMetaData SubmitPending12_operation = AddOperationWithParams(580, "submitPending", "void", false);
            Sybase.Reflection.OperationMetaData CancelPending13_operation = AddOperationWithParams(581, "cancelPending", "void", false);
            Sybase.Reflection.OperationMetaData SubmitPendingOperations14_operation = AddOperationWithParams(582, "submitPendingOperations", "void", true);
            Sybase.Reflection.OperationMetaData CancelPendingOperations15_operation = AddOperationWithParams(583, "cancelPendingOperations", "void", true);
            Sybase.Reflection.OperationMetaData Save16_operation = AddOperationWithParams(584, "save", "void", false);
            Sybase.Reflection.OperationMetaData FindWithQuery17_operation = AddOperationWithParams(585, "findWithQuery", "MboHistory*", true);
            AddParameterForOperation(FindWithQuery17_operation, "query", "Sybase.Persistence.Query");
            Sybase.Reflection.OperationMetaData GetSize18_operation = AddOperationWithParams(586, "getSize", "int", true);
            AddParameterForOperation(GetSize18_operation, "query", "Sybase.Persistence.Query");
            InitOperationMapFromOperations();
            SetName("MboHistory");
            SetTable("\"fieldservices_01_1_0_mbohistory\"");
            SetSynchronizationGroup("default");
        }
        
        /// <summary>
        /// Sybase internal use only.
        /// <summary>
        public  override bool IsEntity()
        {
            return true;
        }
        
        /// <summary>
        /// Sybase internal use only.
        /// <summary>
        public  override bool IsService()
        {
            return false;
        }
    }
}